<#include "../common/layout.ftl"/>
<@layout>
<div width="100%" heigth="900px">
	<div class="dxfsqd_title">联盟报表</div>
	<div class="dxfsqd_shearch">
		<form method="post" action="/order/orderDealReport" class="form-inline">
			<label><span>开始时间：</span><input type="text" class="input-medium" style="height: 30px"  name="beginDate" value="${beginDate!""}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"/></label> 
			<label><span>结束时间：</span><input type="text" class="input-medium" style="height: 30px"  name="endDate" value="${endDate!""}" onfocus="WdatePicker({dateFmt:'yyyy-MM-dd',readOnly:true})"/></label> 
			<button type="submit" class="btn btn-primary"><i class="icon-search icon-white"></i>查看</button>
			<button type="button" class="btn btn-info" onclick="javascript:history.back();">返回</button>
		</form>
</div>
<div class="dxfsqd_table">
	<table class="table table-bordered"  align="center">
		  <tr>
		    <th scope="col">公司代码</th>
			<th scope="col" align="center">所属公司</th>
			<th scope="col">订单总数</th>
			<th scope="col">订单总金额</th>
			<th scope="col">实际扣费金额</th>
			<th scope="col">代驾员所属公司</th>
		  </tr>
		  <#if orderList??>
		  <#list orderList as order>
		       <tr align="center">
		      	  <td  align="center">${order.source!""}</td>
			      <td>${order.companyname!""}</td>
			      <td>${order.totalNum!"0"}</td>
				  <td>${order.totalmoney!"0"}</td>
				  <td>${order.charges!"0"}</td>
				  <td>${order.drivercompanyname!""}</td>
			  </tr>
		  </#list>
		  </#if>
	</table>
</div>
</div>
<script type="text/javascript" src="/js/wdatePicker/WdatePicker.js"></script>

</@layout>